import axios from 'common/js/token/request'

export function Cashback(sku,qty) {
  return axios.post('/api/Orders/cashback/request',{
      orderProducts: [
        {
          sku,
          qty
        }
      ]
  })
    .then((res) => {
    return Promise.resolve(res.data)
    })
    .catch((error)=> {
      return Promise.reject(error.data)
    })
}





